package com.oa.bean.work;

import java.util.Date;
//员工教育经历表
public class Education {
	private int edid;//教育经历编号
	/*private int eid;//员工编号
*/	private Date edstart;//开始时间
	private Date edend;//结束时间
	private String edschool;//学校
	private String edu;//经历
	
	private	Emp emp;//对应的员工
	
	public Education() {}

	public Education(int edid, Date edstart, Date edend, String edschool, String edu) {
		super();
		this.edid = edid;
		this.edstart = edstart;
		this.edend = edend;
		this.edschool = edschool;
		this.edu = edu;
	}

	public int getEdid() {
		return edid;
	}

	public void setEdid(int edid) {
		this.edid = edid;
	}

	/*public int getEid() {
		return eid;
	}

	public void setEid(int eid) {
		this.eid = eid;
	}*/

	public Date getEdstart() {
		return edstart;
	}

	public void setEdstart(Date edstart) {
		this.edstart = edstart;
	}

	public Date getEdend() {
		return edend;
	}

	public void setEdend(Date edend) {
		this.edend = edend;
	}

	public String getEdschool() {
		return edschool;
	}

	public void setEdschool(String edschool) {
		this.edschool = edschool;
	}

	public String getEdu() {
		return edu;
	}

	public void setEdu(String edu) {
		this.edu = edu;
	}

	public Emp getEmp() {
		return emp;
	}

	public void setEmp(Emp emp) {
		this.emp = emp;
	}

	@Override
	public String toString() {
		return "Education [edid=" + edid + ", edstart=" + edstart + ", edend=" + edend + ", edschool="
				+ edschool + ", edu=" + edu + "]";
	}
	
}
